home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1996 June / MACPOWER-1996-06.ISO.7z / MACPOWER-1996-06.ISO / AMUG / UTILITY_40 / MacShell 0.54b / MacShell.0.54b / bin / query / query.rsrc / 9835_query
Text File  |  1995-03-03  |  893b  |  29 lines

  1. SYNTAX
  2.     query [-ivc] pattern [file ...]
  3.  
  4. DESCRIPTION
  5.    Search for the frames containing the string "pattern" 
  6.    in "file, ...".  A frame is any sequence of characters 
  7.    followed by an empty line or end of file.  
  8.  
  9.    If no file is specified, then stardard input is searched.
  10.    The search is case sensitive by default.
  11.  
  12. OPTIONS
  13.    -i  interactive: after any match the user is prompted 
  14.        with "More?". An answer of 'q', 'Q', 'n' or 'N' 
  15.        quits the search immediately.
  16.    -v  print frames which do not match "pattern"
  17.    -c  make a non case-sensitive search.
  18.  
  19. DIAGNOSTIC
  20.    The maximum dimension of a frame is determined by 
  21.    the #define'd constant FRAME_LEN; if query finds a 
  22.    frame bigger than FRAME_LEN characters, it
  23.    truncates to the first FRAME_LEN characters and prints 
  24.    a warning message.
  25.  
  26. AUTHOR
  27.    Adolfo Villafiorita (adolfo@frege.mrg.dist.unige.it)
  28.